package com.example.demo.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZQW
 */
public class Drugs extends Model<Drugs> {

private static final long serialVersionUID=1L;

    /**
     * ID主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 药品编码
     */
    @TableField("DrugsCode")
    private String DrugsCode;

    /**
     * 药品名称
     */
    @TableField("DrugsName")
    private String DrugsName;

    /**
     * 药品规格
     */
    @TableField("DrugsFormat")
    private String DrugsFormat;

    /**
     * 包装单位
     */
    @TableField("DrugsUnit")
    private String DrugsUnit;

    /**
     * 生产厂家
     */
    @TableField("Manufacturer")
    private String Manufacturer;

    /**
     * 药品剂型
     */
    @TableField("DrugsDosageID")
    private Integer DrugsDosageID;

    /**
     * 药品类型
     */
    @TableField("DrugsTypeID")
    private Integer DrugsTypeID;

    /**
     * 药品单价
     */
    @TableField("DrugsPrice")
    private BigDecimal DrugsPrice;

    /**
     * 拼音助记码
     */
    @TableField("MnemonicCode")
    private String MnemonicCode;

    /**
     * 创建时间
     */
    @TableField("CreationDate")
    private Date CreationDate;

    /**
     * 最后修改时间
     */
    @TableField("LastUpdateDate")
    private Date LastUpdateDate;

    /**
     * 删除标记
     */
    @TableField("DelMark")
    private Integer DelMark;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDrugsCode() {
        return DrugsCode;
    }

    public void setDrugsCode(String DrugsCode) {
        this.DrugsCode = DrugsCode;
    }

    public String getDrugsName() {
        return DrugsName;
    }

    public void setDrugsName(String DrugsName) {
        this.DrugsName = DrugsName;
    }

    public String getDrugsFormat() {
        return DrugsFormat;
    }

    public void setDrugsFormat(String DrugsFormat) {
        this.DrugsFormat = DrugsFormat;
    }

    public String getDrugsUnit() {
        return DrugsUnit;
    }

    public void setDrugsUnit(String DrugsUnit) {
        this.DrugsUnit = DrugsUnit;
    }

    public String getManufacturer() {
        return Manufacturer;
    }

    public void setManufacturer(String Manufacturer) {
        this.Manufacturer = Manufacturer;
    }

    public Integer getDrugsDosageID() {
        return DrugsDosageID;
    }

    public void setDrugsDosageID(Integer DrugsDosageID) {
        this.DrugsDosageID = DrugsDosageID;
    }

    public Integer getDrugsTypeID() {
        return DrugsTypeID;
    }

    public void setDrugsTypeID(Integer DrugsTypeID) {
        this.DrugsTypeID = DrugsTypeID;
    }

    public BigDecimal getDrugsPrice() {
        return DrugsPrice;
    }

    public void setDrugsPrice(BigDecimal DrugsPrice) {
        this.DrugsPrice = DrugsPrice;
    }

    public String getMnemonicCode() {
        return MnemonicCode;
    }

    public void setMnemonicCode(String MnemonicCode) {
        this.MnemonicCode = MnemonicCode;
    }

    public Date getCreationDate() {
        return CreationDate;
    }

    public void setCreationDate(Date CreationDate) {
        this.CreationDate = CreationDate;
    }

    public Date getLastUpdateDate() {
        return LastUpdateDate;
    }

    public void setLastUpdateDate(Date LastUpdateDate) {
        this.LastUpdateDate = LastUpdateDate;
    }

    public Integer getDelMark() {
        return DelMark;
    }

    public void setDelMark(Integer DelMark) {
        this.DelMark = DelMark;
    }

    public static final String ID = "ID";

    public static final String DRUGSCODE = "DrugsCode";

    public static final String DRUGSNAME = "DrugsName";

    public static final String DRUGSFORMAT = "DrugsFormat";

    public static final String DRUGSUNIT = "DrugsUnit";

    public static final String MANUFACTURER = "Manufacturer";

    public static final String DRUGSDOSAGEID = "DrugsDosageID";

    public static final String DRUGSTYPEID = "DrugsTypeID";

    public static final String DRUGSPRICE = "DrugsPrice";

    public static final String MNEMONICCODE = "MnemonicCode";

    public static final String CREATIONDATE = "CreationDate";

    public static final String LASTUPDATEDATE = "LastUpdateDate";

    public static final String DELMARK = "DelMark";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Drugs{" +
        "id=" + id +
        ", DrugsCode=" + DrugsCode +
        ", DrugsName=" + DrugsName +
        ", DrugsFormat=" + DrugsFormat +
        ", DrugsUnit=" + DrugsUnit +
        ", Manufacturer=" + Manufacturer +
        ", DrugsDosageID=" + DrugsDosageID +
        ", DrugsTypeID=" + DrugsTypeID +
        ", DrugsPrice=" + DrugsPrice +
        ", MnemonicCode=" + MnemonicCode +
        ", CreationDate=" + CreationDate +
        ", LastUpdateDate=" + LastUpdateDate +
        ", DelMark=" + DelMark +
        "}";
    }
}
